package cn.itrip.auth.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.itrip.auth.service.TestService;
import cn.itrip.beans.pojo.ItripUser;
import cn.itrip.dao.user.ItripUserMapper;

@Service(value = "testService")
public class TestServiceImpl implements TestService {
	@Resource
	private ItripUserMapper itripUserMapper;

	@Override
	public ItripUser getUser(Long id) throws Exception {
		return itripUserMapper.getItripUserById(id);
	}

}
